<template>
    <div>
        <Header :tap="'新闻详情页'"/>
        新闻详情页面-----{{id}}
        <p>{{$store.state.count}}</p>
        <Footer />
    </div>
</template>
<script>
import Header from './commons/header.vue'
import Footer from './commons/footer.vue'
export default {
    data(e){
        // console.log(e.$route.params.id)
        return{
            id:e.$route.params.id,
            // title:'新闻详情页'
        }
    },
    components:{
        Header,
        Footer
    }
}
</script>
<style scoped>

</style>


